/*     */ package com.qmsk.business.manage.user.bean;
/*     */ 
/*     */ import java.util.Date;
/*     */ 
/*     */ public class CUser
/*     */ {
/*     */   public static final short DOMAIN_LEVEL = 0;
/*     */   public static final short SYSTEM_LEVEL = 1;
/*     */   public static final short STORE_LEVEL = 2;
/*     */   public static final short MANAGER_LEVEL = 3;
/*     */   public static final short DEALER_LEVEL = 4;
/*     */   private Integer userId;
/*     */   private String userName;
/*     */   private String password;
/*     */   private Date tAdd;
/*     */   private Date tEdit;
/*     */   private Short deleted;
/*     */   private String zoneId;
/*     */   private Short sysLevel;
/*     */   private String dealerId;
/*     */   private String dealerName;
/*     */   private String classPath;
/*     */ 
/*     */   public void setDeleted(Short deleted)
/*     */   {
/*  27 */     this.deleted = deleted;
/*     */   }
/*     */ 
/*     */   public String getClassPath()
/*     */   {
/*  39 */     return this.classPath;
/*     */   }
/*     */ 
/*     */   public void setClassPath(String classPath) {
/*  43 */     this.classPath = classPath;
/*     */   }
/*     */ 
/*     */   public String getDealerName() {
/*  47 */     return this.dealerName;
/*     */   }
/*     */ 
/*     */   public void setDealerName(String dealerName) {
/*  51 */     this.dealerName = dealerName;
/*     */   }
/*     */ 
/*     */   public Short getSysLevel() {
/*  55 */     return this.sysLevel;
/*     */   }
/*     */ 
/*     */   public void setSysLevel(Short sysLevel) {
/*  59 */     this.sysLevel = sysLevel;
/*     */   }
/*     */ 
/*     */   public CUser() {
/*     */   }
/*     */ 
/*     */   public CUser(boolean bInitial) {
/*  66 */     if (bInitial)
/*  67 */       initial();
/*     */   }
/*     */ 
/*     */   public void initial()
/*     */   {
/*  72 */     this.userName = "";
/*  73 */     this.userId = Integer.valueOf(0);
/*  74 */     this.password = "";
/*  75 */     this.tAdd = new Date();
/*  76 */     this.tEdit = new Date();
/*  77 */     this.deleted = Short.valueOf((short) 0);
/*  78 */     this.zoneId = "";
/*  79 */     this.classPath = "";
/*  80 */     this.dealerId = "";
/*  81 */     this.dealerName = "";
/*  82 */     this.sysLevel = Short.valueOf((short) 4);
/*     */   }
/*     */ 
/*     */   public String getDealerId() {
/*  86 */     return this.dealerId;
/*     */   }
/*     */ 
/*     */   public void setDealerId(String dealerId) {
/*  90 */     this.dealerId = dealerId;
/*     */   }
/*     */ 
/*     */   public void valid() {
/*  94 */     if ((this.userName == null) || (this.userName.isEmpty())) {
/*  95 */       this.userName = "";
/*     */     }
/*  97 */     if ((this.dealerName == null) || (this.dealerName.isEmpty())) {
/*  98 */       this.dealerName = "";
/*     */     }
/* 100 */     if (this.deleted == null) {
/* 101 */       this.deleted = Short.valueOf((short) 0);
/*     */     }
/* 103 */     if (this.zoneId == null) this.zoneId = "";
/* 104 */     if (this.classPath == null) this.classPath = "";
/* 105 */     if (this.password == null) this.password = "";
/* 106 */     if (this.sysLevel == null) {
/* 107 */       this.sysLevel = Short.valueOf((short) 4);
/*     */     }
/*     */ 
/* 110 */     if (this.tAdd == null) {
/* 111 */       this.tAdd = new Date();
/*     */     }
/* 113 */     this.tEdit = new Date();
/*     */   }
/*     */ 
/*     */   public Date gettAdd() {
/* 117 */     return this.tAdd;
/*     */   }
/*     */ 
/*     */   public void settAdd(Date tAdd) {
/* 121 */     this.tAdd = tAdd;
/*     */   }
/*     */ 
/*     */   public Date gettEdit() {
/* 125 */     return this.tEdit;
/*     */   }
/*     */ 
/*     */   public void settEdit(Date tEdit) {
/* 129 */     this.tEdit = tEdit;
/*     */   }
/*     */ 
/*     */   public String getZoneId() {
/* 133 */     return this.zoneId;
/*     */   }
/*     */ 
/*     */   public void setZoneId(String zoneId) {
/* 137 */     this.zoneId = zoneId;
/*     */   }
/*     */ 
/*     */   public String getUserName() {
/* 141 */     return this.userName; }
/*     */ 
/*     */   public void setUserName(String userName) {
/* 144 */     this.userName = userName; }
/*     */ 
/*     */   public Integer getUserId() {
/* 147 */     return this.userId; }
/*     */ 
/*     */   public void setUserId(Integer userId) {
/* 150 */     this.userId = userId; }
/*     */ 
/*     */   public String getPassword() {
/* 153 */     return this.password; }
/*     */ 
/*     */   public void setPassword(String password) {
/* 156 */     this.password = password; }
/*     */ 
/*     */   public short getDeleted() {
/* 159 */     return this.deleted.shortValue(); }
/*     */ 
/*     */   public void setDeleted(short deleted) {
/* 162 */     this.deleted = Short.valueOf(deleted);
/*     */   }
/*     */ }

/* Location:           C:\Users\Administrator\Desktop\新建文件夹\WEB-INF\classes\
 * Qualified Name:     com.qmsk.business.manage.user.bean.CUser
 * JD-Core Version:    0.5.3
 */